/* utils/map.js */
// 地图相关
module.exports = {
  // 地图部分参数

  // 腾讯位置服务API
  mapKey: "QPLBZ-CRPCV-SRDPH-5O2JU-W4DBF-A6BJK",

  // 学校精确坐标（用于地图定位和获取天气数据）
  longitude: '108.453265',
  latitude: '22.749615',

  // 是否展示 POI 点
  enablepoi: false,
  // 是否显示带有方向的当前定位点
  showLocation: true,
  // 缩放级别
  scale: 16.1,
  // 最小缩放级别，比缩放级别小0.1-0.2为宜
  minscale: 16,

  // 自定义图层
      groundoverlay: {
            // 图层透明度 0-1
            opacity: 0.8,
            // 西南角
            southwest_latitude: 22.744023,
            southwest_longitude: 108.447507,
            // 东北角
            northeast_latitude: 22.755775,
            northeast_longitude: 108.458754,
          },
        
          // 地图边界
          boundary: {
            // 西南角
            southwest_latitude: 22.745338,
            southwest_longitude: 108.448393,
            // 东北角
            northeast_latitude: 22.754153,
            northeast_longitude: 108.457409,
          },
        
          // 学校边界
          school_boundary: {
            // 东（学校最东端的 经度）
            east: 108.461094,
            // 西（学校最东端的 经度）
            west: 108.448945,
            // 南（学校最东端的 纬度）
            south: 108.453808,
            // 北（学校最东端的 纬度）
            north: 108.454091,
          },
    
  // 默认地点
  default_point: {
    name: "南门",
    aliases: "学校正大门",
    img: "https://cdnjson.com/images/2023/02/26/schoolgate_dongmen.jpg",
    desc: "学校正大门\n可以通行行人和车辆",
    latitude: '22.745724',
    longitude: '108.451318',
  },

  // 地点数据（使用嵌套列表存储）
  site_data: [{
      id: 1,
      name: "楼宇",
      list: [
        {
          id: 1,
          name: "科大讯飞楼",
          aliases: "科大讯飞楼",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/feixun.png",
          desc: "含有多媒体教室、电脑机房等教室，不过这里的机房巨卡",
          latitude: '22.753791',
          longitude: '108.453073',
        },
        {
          id: 2,
          name: "体育馆",
          aliases: "体育活动中心",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/tiyuguan.jpg",
          desc: "进行体育运动的好去处",
          latitude: '22.75078',
          longitude: '108.451863',
        },
        {
          id: 3,
          name: "体育训练馆",
          aliases: "学生体育训练场所",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/训练馆.jpg",
          desc: "学生排球篮球比赛场地体育训练场所",
          latitude: '22.751478',
          longitude: '108.45334',
        },
        {
          id: 4,
          name: "图书馆",
          aliases: "图书馆",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/tushuguan.jpg",
          desc: "看书学习的好地方",
          latitude: '22.749345',
          longitude: '108.451795',
        },
      ]
    },
    {
      id: 2,
      name: "风景",
      list: [{
          id: 1,
          name: "不孤湖",
          aliases: "三A级风景",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/不孤湖.jpg",
          desc: "学校里面的美景",
          latitude: '22.748968',
          longitude: '108.452896',
        },
      ]
    },
    {
      id: 3,
      name: "二级学院",
      list: [{
          id: 1,
          name: "艺术学院",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/zhineng.jpg",
          desc: "",
          latitude: '22.747432',
          longitude: '108.453276',
        },
        {
          id: 2,
          name: "人工智能与软件学院",
          aliases: "智能学院公共教学楼",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/zhineng.jpg",
          desc: "人工智能与软件学院的教学楼，含有多媒体教室、电脑机房等教室",
          latitude: '22.752276',
          longitude: '108.450581',
        },
        {
          id: 3,
          name: "土木与建筑工程学院",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/tujian.jpg",
          desc: "",
          latitude: '22.749642',
          longitude: '108.449605',
        },
        {
          id: 4,
          name: "教育学院",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/jiaoyu.png",
          desc: "",
          latitude: '22.746142',
          longitude: '108.452481',
        },
        {
          id: 5,
          name: "数字经济学院",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/shuzi.png",
          desc: "",
          latitude: '25.0944',
          longitude: '110.279763',
        },
      ]
    },
    {
      id: 4,
      name: "校门",
      list: [
        {
          id: 1,
          name: "北门",
          aliases: "学校侧门",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/北门.jpg",
          desc: "学校侧门",
          latitude: '22.753575',
          longitude: '108.453684',
        },
      ]
    },
    {
      id: 5,
      name: "会议厅",
      list: [{
          id: 1,
          name: "演艺中心",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/yanyizhongxin.png",
          desc: "学校最大的会议厅",
          latitude: '22.746026',
          longitude: '108.453718',
        },
        {
          id: 2,
          name: "图书报告厅",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/tushubaogao.png",
          desc: "这里经常举办演讲会议",
          latitude: '22.749419',
          longitude: '108.452006',
        },
        {
            id: 3,
            name: "活动中心",
            aliases: "",
            img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/guiguC.jpg",
            desc: "这里经常举办演讲会议",
            latitude: '22.750784',
            longitude: '108.45339',
          },
        
      ]
    },
    {
      id: 6,
      name: "体育场馆",
      list: [{
          id: 1,
          name: "田径场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_tianjing.jpg",
          desc: "学生跑步运动的好去处",
          latitude: '22.752277',
          longitude: '108.451306',
        },
        {
          id: 2,
          name: "网球场",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/网球场.jpg",
          desc: "学生打网的好去处",
          latitude: '22.751911',
          longitude: '108.452741',
        },
        {
          id: 3,
          name: "小型足球场",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/田径场.png",
          desc: "学生踢足球的好去处",
          latitude: '22.752806',
          longitude: '108.452392',
        },
        {
            id: 4,
            name: "篮球场",
            aliases: "",
            img: "https://cdnjson.com/images/2023/02/26/sport_football2.jpg",
            desc: "学生打篮球的好去处",
            latitude: '22.750841',
            longitude: '108.450815',
          },
          {
            id: 5,
            name: "羽毛球场",
            aliases: "",
            img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/羽毛球场.jpg",
            desc: "学生打羽毛球的好去处",
            latitude: '22.751546',
            longitude: '108.452201',
          },
      ]
    },
    {
      id: 9,
      name: "美食",
      list: [{
          id: 1,
          name: "一食堂",
          aliases: "食堂",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/shitang1.jpg",
          desc: "冲呀！干饭呀！",
          latitude: '22.749766',
          longitude: '108.454101',
        },
        {
            id: 2,
            name: "三食堂",
            aliases: "",
            img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/shitang3.jpg",
            desc: "学生们的美食天地",
            latitude: '22.745689',
            longitude: '108.454348',
          },
        {
          id: 3,
          name: "蜜雪冰城",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/蜜雪冰城.jpg",
          desc: "你爱我 我爱你 蜜雪冰城甜蜜蜜",
          latitude: '22.751471',
          longitude: '108.4553',
        },
      ]
    },
    
    {
      id: 12,
      name: "宿舍公寓",
      list: [{
          id: 1,
          name: "卧龙岗7栋",
          aliases: "女生宿舍楼",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/ss1.png",
          desc: "学校最中心的位置",
          latitude: '22.751032',
          longitude: '108.455219',
        },
        {
          id: 2,
          name: "卧龙岗11栋",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/ss11.png",
          desc: "离南门第二近的宿舍",
          latitude: '25.092706',
          longitude: '110.279423',
        },
        {
          id: 3,
          name: "卧龙岗12栋",
          aliases: "",
          img: "https://mp-87832bb8-449c-49a4-b0f1-1be3263e2382.cdn.bspapp.com/H/ss12.png",
          desc: "离南门第一近的宿舍",
          latitude: '25.091851',
          longitude: '110.279057',
        },
        {
          id: 4,
          name: "卧龙岗8栋",
          aliases: "女生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_duxiu.jpg",
          desc: "快递点就在对面",
          latitude: '22.75171',
          longitude: '108.455294',
        },
        {
          id: 5,
          name: "卧龙岗1栋",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_qixing.jpg",
          desc: "",
          latitude: '22.750552',
          longitude: '108.454205',
        },
        {
          id: 6,
          name: "卧龙岗2栋",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_ludi.jpg",
          desc: "",
          latitude: '22.751166',
          longitude: '108.454269',
        },
        {
          id: 7,
          name: "卧龙岗3栋",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_ronghu.jpg",
          desc: "",
          latitude: '22.751753',
          longitude: '108.454305',
        },
        {
          id: 8,
          name: "卧龙岗4栋",
          aliases: "女生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_shanhu.jpg",
          desc: "",
          latitude: '22.752402',
          longitude: '108.454364',
        },
        {
          id: 9,
          name: "卧龙岗9栋",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_guihu.jpg",
          desc: "",
          latitude: '22.752214',
          longitude: '108.455232',
        },
        {
          id: 10,
          name: "卧龙岗6-A栋",
          aliases: "女生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_nanxi.jpg",
          desc: "新建学生宿舍楼\n听说有高贵的二人间和电梯",
          latitude: '22.749936',
          longitude: '108.45513',
        },
      ]
    },
  ]

}